import React from 'react';
import { connect } from 'dva';
import PageContent from '../../components/PageContent';
import PrjProcessAnalysisTable from './PrjProcessTable';

@connect(({ quality, loading }) => ({ quality, loading: loading.models.quality }))
class PrjProcessAnalysis extends React.Component {

  render() {
    const { dispatch, loading, quality: { RelatedAnalysisData, ProjectList } } = this.props;
    const prjProcessTableProps = {
      dispatch,
      loading,
      RelatedAnalysisData,
      ProjectList
    };
    return (
      <PageContent title="过程数据分析" >
        <PrjProcessAnalysisTable {...prjProcessTableProps} />
      </PageContent>
    );
  }
}

export default PrjProcessAnalysis;
